package com.qd.panda.mapper.space.publish;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.qd.common.panda.domain.entity.space.publish.ParkSpacePublishDTO;
import com.qd.panda.model.ParkSpacePublish;
import org.apache.ibatis.annotations.Param;

/**
 * 发布车位租赁
 *
 * @author sjk
 */
public interface ParkSpacePublishMapper extends BaseMapper<ParkSpacePublish> {
    /**
     * 分页
     *
     * @param page  分页属性
     * @param query 查询条件
     * @return 数据
     */
    IPage<ParkSpacePublishDTO> page(IPage<ParkSpacePublish> page, @Param(Constants.WRAPPER) Wrapper<ParkSpacePublish> query);

}